package cn.zahou.TimeConcentration;
@SuppressWarnings("ALL")
public class Sum {
public  int count1(){
    int Sum=0;
    for (int i = 1; i<=100; i++) {
        Sum=Sum+i;
    }
    return  Sum;
}
public  int count2(){
    int Sum=0;
    int i=100;
    Sum=(i+1)*100/2;
    return  Sum;
}
}
